package com.example.spzx.Mapper;

import com.example.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> getall();

    void batchInsert(List<Category> cachedDataList);
@Select("select * from category where id=#{category1Id}")
    Category selectbyid(Long category1Id);
}
